package com.fsxgt.datagrid.executor.controller;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import com.alibaba.fastjson2.JSONObject;
import com.fsxgt.datagrid.core.exception.DataGridException;

import lombok.extern.slf4j.Slf4j;

@Slf4j
@RequestMapping(produces = "application/json; charset=UTF-8",path = "/server")
@RestController
public class ServerController extends BaseController {




	
	@RequestMapping(path = "/test", method = RequestMethod.POST)
	public Map register(@RequestBody JSONObject param, HttpServletRequest request) throws DataGridException {

		Map result = new HashMap();
		result.put("code", "200");

		return result;

	}
	
	
	


	

}